package com.iss.umservice;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;

public class Test {
	public static void main(String[] args) throws ParseException {
		System.out.println(Calendar.getInstance().get(Calendar.DAY_OF_WEEK));
		SimpleDateFormat  dateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm");
		int i = dateFormat.parse("2013-07-23 12:00").compareTo(dateFormat.parse("2013-07-23 13:30"));
		System.out.println(i);
		
	}

}
